package com.reading.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

@Data
@ToString
public class Novel {

  private Integer id;
  private Integer pid;
  private String name;
  private String pname;
  private Integer sort;
  private Integer serialize;
  private String introduction;
  private String url;
  private Integer online;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private LocalDateTime createtime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private LocalDateTime updatetime;
  private String category;
  private Integer ynvip;
}
